package com.fan.analysis.module.preprocessing.message.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 与给前端返回的垃圾短信数据
 *
 * @author fan
 * @date 2021/09/20 12:56
 **/
@Data
public class SpanMessageVo {

    private Long id;

    private String sendNum;
    private String recNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间，格式：yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String content;
    private String userLocation;
}
